/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2022-06-01 17:39:26
 * @LastEditors: GGB
 * @LastEditTime: 2022-06-01 17:47:03
 */
import 'package:flutter/material.dart';
import 'package:flutter_email_ui/models/Email.dart';
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
import 'package:flutter_svg/flutter_svg.dart';

import '../../constants.dart';
import 'components/header.dart';

class DemoFirst extends StatelessWidget {
  const DemoFirst({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        color: Colors.white,
        child: SafeArea(
          child: Column(
            children: [
              Header(),
              Divider(thickness: 1),
              Expanded(
                child: ListView.builder(
                    itemBuilder: ((context, index) => ListTile(
                          title: Text('列表1'),
                          subtitle: Text('demofirst  $index'),
                        ))),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
